home *** CD-ROM | disk | FTP | other *** search
- /*
-
- macro definitions for stream object class (GCOOPE10)
-
- released as PUBLIC DOMAIN 4/25/94
-
- modified for GCOOPE 7/21/94
- */
-
-
- #define S_EOS 0x0020
- #define S_ERR 0x0010
- #define S_NOKAY (S_EOS | S_ERR)
-
- #define S_READ 0x0001
- #define S_WRITE 0x0002
- #define S_RDWR (S_READ | S_WRITE)
-
- #define S_IN 0x0080
- #define S_OUT 0x0100
-
- #define S_BIN 0x0040
-
- #define S_BUF 0x0004
-
- #define S_LBUF 0x0008
-
- #define OKAY_W (!(ivptr->flags&(S_NOKAY|S_IN))&&(ivptr->flags&S_WRITE))
- #define OKAY_R (!(ivptr->flags&(S_NOKAY|S_OUT))&&(ivptr->flags&S_READ))
-
- #define SET_W ivptr->flags|=S_OUT;
- #define SET_R ivptr->flags|=S_IN;
-
-